﻿using System;
using System.ComponentModel;
using static Interfaces.Interface1;

namespace Interfaces
{
    class Program
    {
        static void Main(string[] args)
        {
            //隐式
            Cat cat = new Cat();
            cat.Miao();

            Tiger tiger = new Tiger();
            tiger.Hou();
            //显示
            Speaker speaker = new Speaker();
            speaker.Speak();
        }
    }
}
